
/**********************************************************************
***********************************************************************
* FILE		: Mbcallback.h
* Description	: 
*			  
* Copyright (c) 2013 by BTCS. All Rights Reserved.
* 
* History:
* Version		Name       		Date			Description
   0.1		AlexZhang	2013/01/02	Initial Version
   
***********************************************************************
**********************************************************************/

#ifndef _MBCALLBACK_H_
#define _MBCALLBACK_H_


eMBErrorCode
eMBRegInputCB( UCHAR * pucRegBuffer, USHORT usAddress, USHORT usNRegs );
eMBErrorCode
eMBRegHoldingCB( UCHAR * pucRegBuffer, USHORT usAddress, USHORT usNRegs,
                                        eMBRegisterMode eMode );
eMBErrorCode
eMBRegCoilsCB( UCHAR * pucRegBuffer, USHORT usAddress, USHORT usNCoils, 
                                        eMBRegisterMode eMode );
eMBErrorCode
eMBRegDiscreteCB( UCHAR * pucRegBuffer, USHORT usAddress, USHORT usNDiscrete );


#endif /*_MBCALLBACK_H_*/

